import { createApp,Vue } from 'vue'
import App from './App.vue'
import router from './router';
import store from './store';
// import '@/permission'
// svg引入的方式开始
import svgIcon from './icons/index.vue';
import './icons/index.js';
// svg引入的方式结束
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from "element-plus/es/locale/lang/zh-cn";

// echarts按需全局引入
import echarts from '@/utils/echarts';


//全局样式
// import 'normalize.css';
import './style/index.scss';

const app = createApp(App)
app.config.globalProperties.$echarts = echarts;
app.use(ElementPlus, {
    locale: zhCn
})
app.component('svg-icon', svgIcon)
// app.use(ElementPlus);



app.use(router);
app.use(store);
app.mount('#app')
